//
//  YbrDevice.h
//  wifibox
//
//  Created by os X 10.9 on 15-1-12.
//  Copyright (c) 2015年 yinbaner. All rights reserved.
//  设备类

#import <Foundation/Foundation.h>


//AudioDSP = 1;
//AudioEQ = 136;
//AudioMute = 0;
//AudioSource = WIFI;
//PlayMode = 1;
//RepeatMode = 0;
//TransportState = PLAYING;


@interface YbrDevice : NSObject
@property (nonatomic, strong) NSString * DeviceName;                 // 设备的名字
@property (nonatomic, strong) NSString * DeviceIpAddr;               // 设备的IP
@property (nonatomic, strong) NSString * HttpApiPort;                // 设备的端口号
@property (nonatomic, strong) NSString * DeviceFiremwareVersion;     // 设备的固件版本
@property (nonatomic) long addTime;                                  // 这个是添加的时间(这个时间是为了可以在适当的时间将其删除做的)
@property (nonatomic,assign) int isNeedUpgrade;                            // 该设备的固件是否需要升级了
@property (nonatomic) int  lifeCount;                                // 生命值
@property(nonatomic,copy)NSString *userName;                         //绑定的用户
@property(nonatomic,assign)int _id;
@property(nonatomic,assign) BOOL isSelected;                         // 是否被选中
// 设备的属性
@property(nonatomic,strong) NSString *AudioDSP;
@property(nonatomic,strong) NSString *AudioEQ;
@property(nonatomic,strong) NSString *AudioMute;
@property(nonatomic,strong) NSString *AudioSource;
@property(nonatomic,strong) NSString *PlayMode;
@property(nonatomic,strong) NSString *RepeatMode;
@property(nonatomic,strong) NSString *TransportState;
@property(nonatomic,assign) int currentVolume;                       // 当前音量
//-(void)getDeviceInfo;
@end







